/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iscte.iul.dcti.aa;

import agente.IAgente;
import java.io.File;
import java.io.IOException;
import pt.iscte.iul.dcti.aa.agent.Agent;
import simulador.Simulador;

/**
 *
 * @author Gedsimon Pereira
 * @author Simão Fernandes
 */
public class Test {

    public static void main(String[] args) {
        IAgente agent = new Agent();
        Simulador simulator = new Simulador();
        String classpath = Test.class.getProtectionDomain().getCodeSource().getLocation().getFile();
        //simulator.iniciar(agent, classpath + "\\amb4.das", 70, true);
        simulator.iniciar(agent, classpath + "/amb4.das", 70, true);
        simulator.executar();
    }
}
